package com.example.port.mapper;

import com.example.port.entity.PortArea;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PortAreaMapper {
    
    int insert(PortArea portArea);
    
    List<PortArea> selectAll();
    
    PortArea selectById(Integer id);
    
    int update(PortArea portArea);
    
    int delete(Integer id);
    
    // 获取当前最大区域ID
    Integer getMaxAreaId();
} 
